package com.muchen.partnermatching.service;

import com.muchen.partnermatching.model.request.EmailCodeRequest;
import com.muchen.partnermatching.model.vo.R;

public interface CommonService {

    /**
     * 获取请求权限码
     * @param emailJson 邮箱
     * @return
     */
    R getRequestPermissionCode(String emailJson);

    /**
     * 发送邮箱验证码
     * @param emailCode （邮箱和权限码）
     * @return
     */
    R sendEmailCode(EmailCodeRequest emailCode);
}
